home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 001-025 / scopedisk3 / 68kasm / src / makefile < prev    next >
Makefile  |  1995-03-18  |  750b  |  33 lines

  1. # Simple makefile to compile and link the A68k Assembler.
  2. # Created 23Jun87 by J.A. Lydiatt
  3. #
  4.  
  5. OBJ=    A68kmain.o Opcodes.o Operands.o Adirect.o A68kmisc.o\
  6.     Symtab.o Codegen.o wb_parse.o
  7.  
  8. SHARLIB1= A68k.doc makefile A68kdef.h A68kglb.h A68kmain.c Opcodes.c Operands.c\
  9.     Adirect.c A68kmisc.c Symtab.c Codegen.c wb_parse.c
  10.  
  11. SHARLIB2= A68k.uue
  12.  
  13. .c.o:
  14.     cc -Z3000 +x5 -o $*.o $*.c
  15.  
  16. A68k:    $(OBJ)
  17.     ln -o A68k $(OBJ) -lc
  18.  
  19. $(OBJ):    A68kdef.h A68kglb.h
  20.  
  21. #
  22. # Note: Manx's makefile seems to have a bug that forbids indirection
  23. #    such as "shar >lib a.c  b.c c.c"
  24. #    however "make >lib" seems to work fine if you edit out the
  25. #    commands make echos as it proceeds through the makefile.
  26. #
  27. #    Try make >ram:shardcp Archive 
  28. #
  29.  
  30. Archive:
  31.     shar $(SHARLIB1)
  32.     shar $(SHARLIB2)
  33.